<include file="Public:header"/>
<div id="main-content">
	<div id="top-alert" class="fixed alert alert-error" style="display: none;">
		<button class="close fixed" style="margin-top: 4px;">&times;</button>
		<div class="alert-content">警告内容</div>
	</div>
	<div id="main" class="main">
		<div class="main-title-h">
			<span class="h1-title"><a href="{:U('Config/marketo')}">市场列表</a> >></span>
            <span class="h1-title">编辑市场行情</span>
		</div>
		<div class="tab-wrap">
			<div class="tab-content">
				<form id="form" action="{:U('Config/marketoEdit2')}" method="post" class="form-horizontal" enctype="multipart/form-data">
					<div id="tab" class="tab-pane in tab">
						<div class="form-item cf">
							<table>
								<tr class="controls">
									<td class="item-label">市场名称 :</td>
									<td>{$data.name}</td>
									<td class="item-note"></td>
								</tr>

								<tr class="controls" style="border-bottom:1px solid #d0d0d0;">
									<td class="item-label">发行价格:</td>
									<td>
                                        <input type="text" class="form-control input-10x" name="faxingjia" value="{$data.faxingjia}">
									</td>
									<td class="item-note">用于新市场无交易时计算涨跌幅</td>
								</tr>
								<tr class="controls">
									<td class="item-label">最新成交价:</td>
									<td>
                                        <input type="text" class="form-control input-10x" name="new_price" value="{$data.new_price}">
									</td>
									<td class="item-note">* 系统如果已经对外开放操作，谨慎修改</td>
								</tr>
								<tr class="controls">
									<td class="item-label">买一价:</td>
									<td>
                                        <input type="text" class="form-control input-10x" name="buy_price" value="{$data.buy_price}">
									</td>
									<td class="item-note">* 系统如果已经对外开放操作，谨慎修改</td>
								</tr>
								<tr class="controls">
									<td class="item-label">卖一价:</td>
									<td>
                                        <input type="text" class="form-control input-10x" name="sell_price" value="{$data.sell_price}">
									</td>
									<td class="item-note">* 系统如果已经对外开放操作，谨慎修改</td>
								</tr>
								<tr class="controls">
									<td class="item-label">最低价:</td>
									<td>
                                        <input type="text" class="form-control input-10x" name="min_price" value="{$data.min_price}">
									</td>
									<td class="item-note">* 系统如果已经对外开放操作，谨慎修改</td>
								</tr>
								<tr class="controls">
									<td class="item-label">最高价:</td>
									<td>
                                        <input type="text" class="form-control input-10x" name="max_price" value="{$data.max_price}">
									</td>
									<td class="item-note">* 系统如果已经对外开放操作，谨慎修改</td>
								</tr>
								<tr class="controls">
									<td class="item-label">交易量:</td>
									<td>
                                        <input type="text" class="form-control input-10x" name="volume" value="{$data.volume}">
									</td>
									<td class="item-note">* 系统如果已经对外开放操作，谨慎修改</td>
								</tr>
								
								<tr class="controls" style="border-top:1px solid #d0d0d0;">
									<td class="item-label">涨跌幅:</td>
									<td>
                                        <input type="text" class="form-control input-10x" name="change" value="{$data.change}">
									</td>
									<td class="item-note">* 系统如果已经对外开放操作，谨慎修改</td>
								</tr>
								
								<tr class="controls"style="border-bottom:1px solid #d0d0d0;">
									<td class="item-label">昨日收盘价:</td>
									<td>
                                        <input type="text" class="form-control input-10x" name="hou_price" value="{$data.hou_price}">
									</td>
									<td class="item-note">* 系统如果已经对外开放操作，谨慎修改</td>
								</tr>
								
								<tr class="controls"style="border-bottom:1px solid #d0d0d0;">
									<td class="item-label" style="padding:30px 0;">Tendency:</td>
									<td style="padding:30px 0;">
										<textarea name="tendency" class="form-control input-10x" style="height:120px;">{$data.tendency}</textarea>
									</td>
									<td class="item-note">* 系统如果已经对外开放操作，谨慎修改</td>
								</tr>
								<tr class="controls">
									<td class="item-label"></td>
									<td>
										<div class="form-item cf">
											<button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">提交
											</button>
											<a class="btn btn-return" href="{$Think.server.HTTP_REFERER}">返 回</a>
											<notempty name="data.id"><input type="hidden" name="id" value="{$data.id}"/>
											</notempty>
										</div>
									</td>
								</tr>
							</table>
						</div>
					</div>
				</form>
				<script type="text/javascript">
				//提交表单
				$('#submit').click(function () {
					$('#form').submit();
				});
				</script>
			</div>
		</div>
	</div>
</div>
<include file="Public:footer"/>
<block name="script">
	<script type="text/javascript" charset="utf-8">
		//导航高亮
		highlight_subnav("{:U('Config/marketo')}");
	</script>
</block>